<%@page import="java.util.Date"%>
<%@page import="java.text.SimpleDateFormat"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<div class="col-sm-8 col-xs-12 col-md-offset-2">

	<%
		String[] infos = { "您是第21位注册用户", "您收藏的商品有新消息了！", "o(*￣︶￣*)o" };

		for (int i = 0; i < infos.length; i++) {
			SimpleDateFormat adf = new SimpleDateFormat("yyyy年MM月dd日  HH时mm分");
			String date = adf.format(new Date());
	%>
	
		<div class="panel panel-info">
			<div class="panel-heading">
				<div class="row">
					<div class="col-sm-10 ">
						<h3 class="panel-title">
							来自系统 <span><small><%=date%></small></span>
						</h3>
					</div>
					<div class="col-sm-2 ">
						<form action="#">
							<button class="btn btn-link ">删除</button>
						</form>
					</div>
				</div>
			</div>
			
			<div class="panel-body">
				<div>
					<p><%=infos[i]%></p>
				</div>
			</div>
		</div>
		<%
			}
		%>
	</div>

</body>
</html>